package com.qxkj.wit.doctor.controller;

import com.qxkj.wit.doctor.feign.UserFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2021/1/7.
 */

@RestController
@RequestMapping("doctor/doctor")
public class DoctorController {

    @Autowired
    private UserFeignService userFeignService;


    @RequestMapping("getRemoteUser")
    public String getRemoteUser(){

        System.out.println("aaaaa");

        System.out.println("bbbb");


        return userFeignService.getRemoteUser();
    }
}
